glx: Ignore all errors
authorBenjamin Otte <otte@redhat.com>
Mon, 5 Jun 2023 17:12:29 +0000 (19:12 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 6 Jun 2023 03:20:34 +0000 (05:20 +0200)
commit1e60ad1430da6179a836a1025014ce11c3e30650
tree534ce4bf9c2d836c4e9f4123cb146a2bb6824a19
parentfd5d15004e09d391337709fbe3857f8fbaf6c2d5
glx: Ignore all errors

In error cases, glXCreateContextAttribsARB() will always return NULL so
it is enough to run the loop until the first non-NULL context is
returned.

And at that point, we can just look at the return value and ignore all
errors.
gdk/x11/gdkglcontext-glx.c